#pragma once

struct segment_t
{
	segment_t(double Xa_, double Ya_, double Xb_, double Yb_);

	double Xa,Ya,Xb,Yb;
};

bool if_intersect(segment_t const& s1, segment_t const& s2);